package com.qf.week2.day1;

public class Homework {
    public static void main(String[] args) {
        Warrior warrior = new Warrior("白起",50,10,40,40,80);
        System.out.println(warrior);
        double hit = warrior.hit(80);
        System.out.println(warrior.getName()+"的怒气值为"+hit);


    }
}
